package com.jintian.smart.kernel.autoconfigure.extend.resposity;

import com.jintian.smart.kernel.autoconfigure.extend.util.RandomUtil;

public class WorkerNodeDefault implements WorkerNodeResposity {
    @Override
    public WorkerNodeEntity getWorkerNodeByHostPort(String host, String port) {
        return null;
    }

    @Override
    public void addWorkerNode(WorkerNodeEntity entity) {
        entity.setId(RandomUtil.randomInt(0, 1000));
    }
}
